package com.woniuxy.driverschool.service;

import com.woniuxy.driverschool.entity.CredentialManagement;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;

/**
 * @author shkstart
 * @create 2021-10-09 10:53
 */
public interface CredentialManagementService {
    //通过全科则添加学员证件信息
    void insertCredentialManagement(CredentialManagement credentialManagement);

    //修改学员证件信息
    void updateCredentialManagement(CredentialManagement credentialManagement);

    //分页查询信息
    List<CredentialManagement> selectCredentialManagementByPage(CredentialManagement credentialManagement, Integer pageInedx, Integer pageSize,
                                                                Date getStartTime, Date getEndTime);

    //总条数
    int selectCountCredentialManagementByPage(CredentialManagement credentialManagement, Date getStartTime, Date getEndTime);
}
